package com.schoolcloud.share.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 合集标签多对多关联
 * @TableName set_tags
 */
@TableName(value ="set_tags")
@Data
public class SetTags implements Serializable {
    /**
     * 关联ID
     */
    @TableId(value = "set_tag_id", type = IdType.AUTO)
    private Integer set_tag_id;

    /**
     * 合集ID
     */
    @TableField(value = "set_id")
    private Integer set_id;

    /**
     * 标签ID
     */
    @TableField(value = "tag_id")
    private Integer tag_id;

    /**
     * 关联时间
     */
    @TableField(value = "created_at")
    private LocalDateTime created_at;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}